package com.qf.sclg.util;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * Created with IntelliJ IDEA.
 * User: zdk
 * Date: 2021/10/20 15:48
 * Description:
 * Version: V1.0
 */
public class Md5Util {
    public static String get(String uname,String password ){
        Md5Hash md5Hash = new Md5Hash(password,uname,1000);
        return md5Hash.toString();
    }
    public static void main(String[] args) {
        System.out.println(Md5Util.get("admin", "admin"));
    }
}
